layui.use(['laypage','form'], function(){
	var $ = layui.jquery, form = layui.form(),laypage = layui.laypage;
	form.render("checkbox"); //更新全部
	  
	//设置page信息
    $("#role_page_content_pageInfo").html("当前第"+role_pageNum+"页，共"+role_pages+"页，共"+role_total+"条结果");
    //显示分页
	if("1"==role_pageNum){
		laypage({
		    cont: 'role_page_content_pageshow'
		    ,pages: role_pages //总页数
		    ,groups: 5 //连续显示分页数
		    ,jump: function(obj, first){
		        if(!first){
		          layer.msg('第 '+ obj.curr +' 页');
		          role_page_content_search(obj.curr);
		        }
		    }
		});
	}
});

